﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F13 RID: 3859
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicCurInfo : IMessage<RogueMagicCurInfo>, IMessage, IEquatable<RogueMagicCurInfo>, IDeepCloneable<RogueMagicCurInfo>, IBufferMessage
	{
		// Token: 0x17003106 RID: 12550
		// (get) Token: 0x0600AD1C RID: 44316 RVA: 0x001D4496 File Offset: 0x001D2696
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicCurInfo> Parser
		{
			get
			{
				return RogueMagicCurInfo._parser;
			}
		}

		// Token: 0x17003107 RID: 12551
		// (get) Token: 0x0600AD1D RID: 44317 RVA: 0x001D449D File Offset: 0x001D269D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicCurInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003108 RID: 12552
		// (get) Token: 0x0600AD1E RID: 44318 RVA: 0x001D44AF File Offset: 0x001D26AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicCurInfo.Descriptor;
			}
		}

		// Token: 0x0600AD1F RID: 44319 RVA: 0x001D44B6 File Offset: 0x001D26B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurInfo()
		{
		}

		// Token: 0x0600AD20 RID: 44320 RVA: 0x001D44C0 File Offset: 0x001D26C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurInfo(RogueMagicCurInfo other) : this()
		{
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.iGGNGJGPCLK_ = ((other.iGGNGJGPCLK_ != null) ? other.iGGNGJGPCLK_.Clone() : null);
			this.level_ = ((other.level_ != null) ? other.level_.Clone() : null);
			this.itemValue_ = ((other.itemValue_ != null) ? other.itemValue_.Clone() : null);
			this.basicInfo_ = ((other.basicInfo_ != null) ? other.basicInfo_.Clone() : null);
			this.magicItem_ = ((other.magicItem_ != null) ? other.magicItem_.Clone() : null);
			this.miracleInfo_ = ((other.miracleInfo_ != null) ? other.miracleInfo_.Clone() : null);
			this.gameDifficultyInfo_ = ((other.gameDifficultyInfo_ != null) ? other.gameDifficultyInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AD21 RID: 44321 RVA: 0x001D45C4 File Offset: 0x001D27C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurInfo Clone()
		{
			return new RogueMagicCurInfo(this);
		}

		// Token: 0x17003109 RID: 12553
		// (get) Token: 0x0600AD22 RID: 44322 RVA: 0x001D45CC File Offset: 0x001D27CC
		// (set) Token: 0x0600AD23 RID: 44323 RVA: 0x001D45D4 File Offset: 0x001D27D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x1700310A RID: 12554
		// (get) Token: 0x0600AD24 RID: 44324 RVA: 0x001D45DD File Offset: 0x001D27DD
		// (set) Token: 0x0600AD25 RID: 44325 RVA: 0x001D45E5 File Offset: 0x001D27E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CJOIECNKEGD IGGNGJGPCLK
		{
			get
			{
				return this.iGGNGJGPCLK_;
			}
			set
			{
				this.iGGNGJGPCLK_ = value;
			}
		}

		// Token: 0x1700310B RID: 12555
		// (get) Token: 0x0600AD26 RID: 44326 RVA: 0x001D45EE File Offset: 0x001D27EE
		// (set) Token: 0x0600AD27 RID: 44327 RVA: 0x001D45F6 File Offset: 0x001D27F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicGameLevelInfo Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x1700310C RID: 12556
		// (get) Token: 0x0600AD28 RID: 44328 RVA: 0x001D45FF File Offset: 0x001D27FF
		// (set) Token: 0x0600AD29 RID: 44329 RVA: 0x001D4607 File Offset: 0x001D2807
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGameItemValue ItemValue
		{
			get
			{
				return this.itemValue_;
			}
			set
			{
				this.itemValue_ = value;
			}
		}

		// Token: 0x1700310D RID: 12557
		// (get) Token: 0x0600AD2A RID: 44330 RVA: 0x001D4610 File Offset: 0x001D2810
		// (set) Token: 0x0600AD2B RID: 44331 RVA: 0x001D4618 File Offset: 0x001D2818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurAreaInfo BasicInfo
		{
			get
			{
				return this.basicInfo_;
			}
			set
			{
				this.basicInfo_ = value;
			}
		}

		// Token: 0x1700310E RID: 12558
		// (get) Token: 0x0600AD2C RID: 44332 RVA: 0x001D4621 File Offset: 0x001D2821
		// (set) Token: 0x0600AD2D RID: 44333 RVA: 0x001D4629 File Offset: 0x001D2829
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicGameItemInfo MagicItem
		{
			get
			{
				return this.magicItem_;
			}
			set
			{
				this.magicItem_ = value;
			}
		}

		// Token: 0x1700310F RID: 12559
		// (get) Token: 0x0600AD2E RID: 44334 RVA: 0x001D4632 File Offset: 0x001D2832
		// (set) Token: 0x0600AD2F RID: 44335 RVA: 0x001D463A File Offset: 0x001D283A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracleInfo MiracleInfo
		{
			get
			{
				return this.miracleInfo_;
			}
			set
			{
				this.miracleInfo_ = value;
			}
		}

		// Token: 0x17003110 RID: 12560
		// (get) Token: 0x0600AD30 RID: 44336 RVA: 0x001D4643 File Offset: 0x001D2843
		// (set) Token: 0x0600AD31 RID: 44337 RVA: 0x001D464B File Offset: 0x001D284B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicGameDifficultyInfo GameDifficultyInfo
		{
			get
			{
				return this.gameDifficultyInfo_;
			}
			set
			{
				this.gameDifficultyInfo_ = value;
			}
		}

		// Token: 0x0600AD32 RID: 44338 RVA: 0x001D4654 File Offset: 0x001D2854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicCurInfo);
		}

		// Token: 0x0600AD33 RID: 44339 RVA: 0x001D4664 File Offset: 0x001D2864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicCurInfo other)
		{
			return other != null && (other == this || (object.Equals(this.Lineup, other.Lineup) && object.Equals(this.IGGNGJGPCLK, other.IGGNGJGPCLK) && object.Equals(this.Level, other.Level) && object.Equals(this.ItemValue, other.ItemValue) && object.Equals(this.BasicInfo, other.BasicInfo) && object.Equals(this.MagicItem, other.MagicItem) && object.Equals(this.MiracleInfo, other.MiracleInfo) && object.Equals(this.GameDifficultyInfo, other.GameDifficultyInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AD34 RID: 44340 RVA: 0x001D4738 File Offset: 0x001D2938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.iGGNGJGPCLK_ != null)
			{
				num ^= this.IGGNGJGPCLK.GetHashCode();
			}
			if (this.level_ != null)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.itemValue_ != null)
			{
				num ^= this.ItemValue.GetHashCode();
			}
			if (this.basicInfo_ != null)
			{
				num ^= this.BasicInfo.GetHashCode();
			}
			if (this.magicItem_ != null)
			{
				num ^= this.MagicItem.GetHashCode();
			}
			if (this.miracleInfo_ != null)
			{
				num ^= this.MiracleInfo.GetHashCode();
			}
			if (this.gameDifficultyInfo_ != null)
			{
				num ^= this.GameDifficultyInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AD35 RID: 44341 RVA: 0x001D480E File Offset: 0x001D2A0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AD36 RID: 44342 RVA: 0x001D4816 File Offset: 0x001D2A16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AD37 RID: 44343 RVA: 0x001D4820 File Offset: 0x001D2A20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iGGNGJGPCLK_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.IGGNGJGPCLK);
			}
			if (this.itemValue_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.ItemValue);
			}
			if (this.magicItem_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.MagicItem);
			}
			if (this.basicInfo_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.BasicInfo);
			}
			if (this.level_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Level);
			}
			if (this.gameDifficultyInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.GameDifficultyInfo);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.Lineup);
			}
			if (this.miracleInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.MiracleInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AD38 RID: 44344 RVA: 0x001D4924 File Offset: 0x001D2B24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.iGGNGJGPCLK_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IGGNGJGPCLK);
			}
			if (this.level_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Level);
			}
			if (this.itemValue_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ItemValue);
			}
			if (this.basicInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BasicInfo);
			}
			if (this.magicItem_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MagicItem);
			}
			if (this.miracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MiracleInfo);
			}
			if (this.gameDifficultyInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameDifficultyInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AD39 RID: 44345 RVA: 0x001D4A0C File Offset: 0x001D2C0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicCurInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new RogueTournLineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.iGGNGJGPCLK_ != null)
			{
				if (this.iGGNGJGPCLK_ == null)
				{
					this.IGGNGJGPCLK = new CJOIECNKEGD();
				}
				this.IGGNGJGPCLK.MergeFrom(other.IGGNGJGPCLK);
			}
			if (other.level_ != null)
			{
				if (this.level_ == null)
				{
					this.Level = new RogueMagicGameLevelInfo();
				}
				this.Level.MergeFrom(other.Level);
			}
			if (other.itemValue_ != null)
			{
				if (this.itemValue_ == null)
				{
					this.ItemValue = new RogueGameItemValue();
				}
				this.ItemValue.MergeFrom(other.ItemValue);
			}
			if (other.basicInfo_ != null)
			{
				if (this.basicInfo_ == null)
				{
					this.BasicInfo = new RogueTournCurAreaInfo();
				}
				this.BasicInfo.MergeFrom(other.BasicInfo);
			}
			if (other.magicItem_ != null)
			{
				if (this.magicItem_ == null)
				{
					this.MagicItem = new RogueMagicGameItemInfo();
				}
				this.MagicItem.MergeFrom(other.MagicItem);
			}
			if (other.miracleInfo_ != null)
			{
				if (this.miracleInfo_ == null)
				{
					this.MiracleInfo = new ChessRogueMiracleInfo();
				}
				this.MiracleInfo.MergeFrom(other.MiracleInfo);
			}
			if (other.gameDifficultyInfo_ != null)
			{
				if (this.gameDifficultyInfo_ == null)
				{
					this.GameDifficultyInfo = new RogueMagicGameDifficultyInfo();
				}
				this.GameDifficultyInfo.MergeFrom(other.GameDifficultyInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AD3A RID: 44346 RVA: 0x001D4B94 File Offset: 0x001D2D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AD3B RID: 44347 RVA: 0x001D4BA0 File Offset: 0x001D2DA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 82U)
				{
					if (num <= 50U)
					{
						if (num == 34U)
						{
							if (this.iGGNGJGPCLK_ == null)
							{
								this.IGGNGJGPCLK = new CJOIECNKEGD();
							}
							input.ReadMessage(this.IGGNGJGPCLK);
							continue;
						}
						if (num == 50U)
						{
							if (this.itemValue_ == null)
							{
								this.ItemValue = new RogueGameItemValue();
							}
							input.ReadMessage(this.ItemValue);
							continue;
						}
					}
					else
					{
						if (num == 66U)
						{
							if (this.magicItem_ == null)
							{
								this.MagicItem = new RogueMagicGameItemInfo();
							}
							input.ReadMessage(this.MagicItem);
							continue;
						}
						if (num == 82U)
						{
							if (this.basicInfo_ == null)
							{
								this.BasicInfo = new RogueTournCurAreaInfo();
							}
							input.ReadMessage(this.BasicInfo);
							continue;
						}
					}
				}
				else if (num <= 98U)
				{
					if (num == 90U)
					{
						if (this.level_ == null)
						{
							this.Level = new RogueMagicGameLevelInfo();
						}
						input.ReadMessage(this.Level);
						continue;
					}
					if (num == 98U)
					{
						if (this.gameDifficultyInfo_ == null)
						{
							this.GameDifficultyInfo = new RogueMagicGameDifficultyInfo();
						}
						input.ReadMessage(this.GameDifficultyInfo);
						continue;
					}
				}
				else
				{
					if (num == 114U)
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new RogueTournLineupInfo();
						}
						input.ReadMessage(this.Lineup);
						continue;
					}
					if (num == 122U)
					{
						if (this.miracleInfo_ == null)
						{
							this.MiracleInfo = new ChessRogueMiracleInfo();
						}
						input.ReadMessage(this.MiracleInfo);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400463E RID: 17982
		private static readonly MessageParser<RogueMagicCurInfo> _parser = new MessageParser<RogueMagicCurInfo>(() => new RogueMagicCurInfo());

		// Token: 0x0400463F RID: 17983
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004640 RID: 17984
		public const int LineupFieldNumber = 14;

		// Token: 0x04004641 RID: 17985
		private RogueTournLineupInfo lineup_;

		// Token: 0x04004642 RID: 17986
		public const int IGGNGJGPCLKFieldNumber = 4;

		// Token: 0x04004643 RID: 17987
		private CJOIECNKEGD iGGNGJGPCLK_;

		// Token: 0x04004644 RID: 17988
		public const int LevelFieldNumber = 11;

		// Token: 0x04004645 RID: 17989
		private RogueMagicGameLevelInfo level_;

		// Token: 0x04004646 RID: 17990
		public const int ItemValueFieldNumber = 6;

		// Token: 0x04004647 RID: 17991
		private RogueGameItemValue itemValue_;

		// Token: 0x04004648 RID: 17992
		public const int BasicInfoFieldNumber = 10;

		// Token: 0x04004649 RID: 17993
		private RogueTournCurAreaInfo basicInfo_;

		// Token: 0x0400464A RID: 17994
		public const int MagicItemFieldNumber = 8;

		// Token: 0x0400464B RID: 17995
		private RogueMagicGameItemInfo magicItem_;

		// Token: 0x0400464C RID: 17996
		public const int MiracleInfoFieldNumber = 15;

		// Token: 0x0400464D RID: 17997
		private ChessRogueMiracleInfo miracleInfo_;

		// Token: 0x0400464E RID: 17998
		public const int GameDifficultyInfoFieldNumber = 12;

		// Token: 0x0400464F RID: 17999
		private RogueMagicGameDifficultyInfo gameDifficultyInfo_;
	}
}
